package top.fzqblog.music.event;

import top.fzqblog.music.model.Song;

/**
 * Created by 抽离 on 2017/10/25 0025.
 */

public class SongChangeEvent {
    private Song song;

    private Integer flag;

    public SongChangeEvent() {
    }

    public SongChangeEvent(Song song) {
        this.song = song;
    }

    public SongChangeEvent(Integer flag) {
        this.flag = flag;
    }

    public SongChangeEvent(Song song, Integer flag) {
        this.song = song;
        this.flag = flag;
    }

    public Song getSong() {
        return song;
    }

    public void setSong(Song song) {
        this.song = song;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    @Override
    public String toString() {
        return "SongChangeEvent{" +
                "song=" + song +
                ", flag=" + flag +
                '}';
    }
}
